package cn.jingdalei.org.domain;

import cn.jingdalei.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Shop extends BaseDomain {
    private String name;
    private String tel;
    //注册时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date registerTime = new Date();
    // 0 待提交 1 待审核 2 审核通过  3 审核驳回 -1 拒绝
    private Integer state = 0;
    private String address;
    private String logo;
    private Long admin_id;
    // 引用属性
    private Employee admin;
}
